From 1c185534be88e0fc9e3a90cbd9b047e0f7f81858 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 3 Dec 2008 11:21:34 +0000 Subject: [PATCH] x86: No need for short jmp before long hjmp when setting CR0.PE Signed-off-by: Keir Fraser --- xen/arch/x86/boot/wakeup.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/arch/x86/boot/wakeup.S b/xen/arch/x86/boot/wakeup.S index cc4cda556a..cf40d8bfaa 100644 --- a/xen/arch/x86/boot/wakeup.S +++ b/xen/arch/x86/boot/wakeup.S @@ -50,8 +50,7 @@ ENTRY(wakeup_start) movw $1, %ax lmsw %ax # Turn on CR0.PE - jmp 1f -1: ljmpl $BOOT_CS32, $bootsym_phys(wakeup_32) + ljmpl $BOOT_CS32, $bootsym_phys(wakeup_32) /* This code uses an extended set of video mode numbers. These include: * Aliases for standard modes -- 2.30.2